package com.ciaojian.core.enums.business;

import com.ciaojian.core.enums.base.IBaseEnum;
import com.ciaojian.core.model.CouponCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * {@link CouponCode#getOrigin()}
 *
 * @author Atlakyn
 */
@AllArgsConstructor
@Getter
public enum CouponCodeOriginEnum implements IBaseEnum {
    /**
     * 卡券来源
     */
    buy_member(0, "购买会员卡赠送"),

    pop_collect(1, "首页弹窗领取"),

    BUY_PACKAGE(2, "购买卡包"),

    share_reward(3, "分享奖励"),

    invited_register_reward(4, "受邀注册奖励"),

    BUY_MEMBER_DETAIL(5, "购买会员权益"),

    CODE_EXCHANGE(6, "通过兑换码兑换"),

    DOUYIN_WRITE_OFF(7, "抖音核销"),

    Hair_Check_Num(8,"剪发后自动发放")
    ;

    private Integer value;

    private String description;
}
